#include <stdio.h>

int main()
{
    int sell;
    while (scanf("%d", &sell) == 1 && sell != -1)
    {
        printf("%.0lf\n", 200 + sell * 0.09);
    }
    return 0;
}
